package s0404.service;

import s0404.entity.authority.Permission;

import java.sql.SQLException;
import java.util.Collection;

/**
 * @author tg.si@188.com
 * @todo
 * @since 2024/4/15 15:35
 */
public interface ResourceService {
    Collection<Permission> findAll(Integer roleId) throws SQLException;

    Permission find(Integer id) throws SQLException;
}
